package com.infra.micro.oss.model.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.infra.common.req.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "QueryFileInfoReq", description = "原始文件信息查询请求参数对象")
public class QueryFileInfoReq extends BasePageReq {
    @ApiModelProperty(name = "mimeType", value = "文件媒体类型", example = "image/jpeg")
    private String mimeType;
    @ApiModelProperty(name = "startDate", value = "开始日期", example = "2022-02-01")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;
    @ApiModelProperty(name = "endDate", value = "结束日期", example = "2022-02-05")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate;

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
